﻿<%@ Page Language="C#" MasterPageFile="~/System/MasterPage.master" ValidateRequest="false"  AutoEventWireup="true"  CodeFile="LinkAdd.aspx.cs" Inherits="Manage_LinkAdd" Title="Untitled Page" %>
<%@ Register Src="../System/DbPageFlip.ascx" TagName="DbPageFlip" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphMaster" Runat="Server">

    <table align="center" border="0" cellpadding="0" cellspacing="0" width="98%">
        <tr>
            <td style="width: 4px">
                <img height="34" src="../images/intro_left.gif" width="4" /></td>
            <td class="intro_wordbg">
                添加友情链接</td>
            <td background="../images/intro_bg.gif">
                <img height="34" src="../images/intro_right.jpg" width="118" /></td>
        </tr>
    </table>
    <table id="tabData" align="center" border="0" cellpadding="2" cellspacing="1" width="98%">
        <tr>
            <td align="right"    >
                链接标题：</td>
            <td colspan="1">
                <asp:TextBox ID="txtname" runat="server" InvertedComma="链接标题" ></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtname"
                    ErrorMessage="标题不能为空！"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td align="right"   >
                链接地址：</td>
            <td >
                <asp:TextBox ID="Textwww" runat="server" InvertedComma="链接地址" ></asp:TextBox>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="Textwww"
                    ErrorMessage="请填写真确地址！" ValidationExpression="http(s)?://([\w-]+\.)+[\w-]+(/[\w- ./?%&=]*)?"></asp:RegularExpressionValidator>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="Textwww"
                    ErrorMessage="地址不能为空！"></asp:RequiredFieldValidator>(http://www.XXX.com)</td>
        </tr>
        <tr>
            <td align="right"   >
                上传图片：</td>
            <td style=" color: red;">
                <asp:FileUpload ID="FileUpload1" runat="server"  />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="FileUpload1"
                    ErrorMessage="图片不能为空！"></asp:RequiredFieldValidator>
                <asp:Label ID="strStatus" runat="server" BorderColor="White" BorderStyle="None" Font-Bold="True"
                    Font-Names="宋体" Font-Size="9pt" Height="1px" ></asp:Label></td>
        </tr>
        <tr>
            <td  >
            </td>
            <td >
                <asp:Button ID="Button5" runat="server"  class="button_bg" OnClick="Button5_Click"
                    Text="确定"  /></td>
        </tr>
    </table>
    &nbsp;<uc1:dbpageflip id="DbPageFlip1" runat="server"></uc1:dbpageflip>
       <input type="submit" name="btnSubmit" value="删除"  class="button_bg" onclick="javascript:return confirm('确定真的要删除吗？？？？ ');"　 /><br />
  
        <div align=center>
        <asp:Label ID="Label1" runat="server" Text="Label" Width="98%"></asp:Label>
        </div>
</asp:Content>


